$OpenBSD: patch-cogl_winsys_cogl-winsys-egl-kms_c,v 1.7 2015/09/19 11:06:30 jasper Exp $
--- cogl/winsys/cogl-winsys-egl-kms.c.orig	Mon Sep  7 13:08:29 2015
+++ cogl/winsys/cogl-winsys-egl-kms.c	Thu Sep 17 08:32:54 2015
@@ -117,7 +117,7 @@ typedef struct _CoglOnscreenKMS
   struct gbm_surface *pending_surface;
 } CoglOnscreenKMS;
 
-static const char device_name[] = "/dev/dri/card0";
+static const char device_name[] = "/dev/drm0";
 
 static void
 _cogl_winsys_renderer_disconnect (CoglRenderer *renderer)
